/*

Author   : chaos

FileName : john.cpp

Date     : 17/08/17 01:15:12

*/

#include <iostream>
using namespace std;

#include "John.h"

namespace John
{
    int age = 35;

    void Hello() {cout << "Hello namespace John!" << endl;}

}

void John::Printer::Hello()
{
    cout << "Hello C++ !" << endl;
}

int main()
{
    John::Printer Printer_1;

    cout << "John::age =" << John::age << endl;

    John::Hello();

    Printer_1.Hello();

    return 0;
}
